package com.seleniti.enpareja.web.desktop.client.ui.view;

import org.ioc.commons.impl.gwt.client.ui.ViewComposite;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiHandler;
import com.google.gwt.user.client.ui.Widget;
import com.seleniti.enpareja.controller.ui.view.SolveNoPasswordSetView;
import com.seleniti.enpareja.controller.ui.view.SolveNoPasswordSetView.Action;
import com.seleniti.enpareja.controller.ui.view.SolveNoPasswordSetView.Event;
import com.seleniti.enpareja.controller.ui.view.SolveNoPasswordSetView.Operation;
import com.seleniti.enpareja.controller.ui.view.SolveNoPasswordSetView.Presenter;
import com.seleniti.enpareja.controller.ui.view.SolveNoPasswordSetViewPresenter;

public class SolveNoPasswordSetViewWidget extends EnParejaBaseView<Event, Operation, Action, Presenter> implements
		SolveNoPasswordSetView {

	private static SolveNoPasswordSetViewWidgetUiBinder uiBinder = GWT.create(SolveNoPasswordSetViewWidgetUiBinder.class);

	interface SolveNoPasswordSetViewWidgetUiBinder extends UiBinder<Widget, SolveNoPasswordSetViewWidget> {
	}

	public SolveNoPasswordSetViewWidget() {
		this.presenter = new SolveNoPasswordSetViewPresenter(this, eventbus, operationManager, actionController);
		initWidget(uiBinder.createAndBindUi(this));
	}

	@UiHandler("btnGoBack")
	void onDonwloadAppButtonClicked(ClickEvent evt) {
		this.presenter.onGoBack();;
	}

}
